/* Copyright (c) Soon.Liao 2024. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * Create Date : 2024
 * @Date: 2024-10-14 07:57:06
 * @LastEditors: soon.liao
 * @LastEditTime: 2024-10-26 14:12:40
 * @FilePath: /src/application/ws63/rgb_master/wifi/web_server.h
 * @Description: NA
 * NA
 */
#ifndef WEB_SERVER_H
#define WEB_SERVER_H

#define HTML_CMD_STR_SUBMIT_WIFI "submitWifi"
#define HTML_CMD_STR_CLEAR_WIFI "clearWifi"
#define HTML_CMD_STR_TOGGLE_LED "toggleLed"
#define HTML_CMD_STR_PREV_MODE "prevMode"
#define HTML_CMD_STR_NEXT_MODE "nextMode"
#define HTML_CMD_STR_PREV_SENCE "prevSence"
#define HTML_CMD_STR_NEXT_SENCE "nextSence"
#define HTML_CMD_STR_SET_BRIGHTNESS "setBrightness"
#define HTML_CMD_STR_GET_BRIGHTNESS "getBrightness"
#define HTML_CMD_STR_START_SLE "startSLE"
#define HTML_CMD_STR_CLEAR_SLE "clearSLE"
#define HTML_CMD_STR_SUBMIT_LED_NUM "submitLEDCount"
#define HTML_CMD_STR_GET_LED_NUM "getLEDNum"

void web_server_init(void);
void handle_clear_wifi(void);

#endif